SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}Catral{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}' OR prCity = 'Catral' OR prZip = 'Catral' OR prStreet LIKE '{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}Catral{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}' OR prCountry = 'Catral') AND (prLocation LIKE '{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}Spain{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}Spain{bc7af10e24500721bf3d66d1c7de97f51a53b93d17ce81d33a2e44bf60769a8e}' OR prCountry = 'Spain')